import React from 'react'
import {$pre} from "../../../../http/http"
export default function Countdown (props) {
  let { countdowngoods } = props
  return (
    <div className='news'>
      <h3>倒计时</h3>
           {countdowngoods.map((item)=>{
             return (<div key={item.id}>
                <span>{item.goodsname}</span>
                <img src={$pre+item.img}  alt="" />
                <span>{item.price}</span>
             </div>)
           })}
    </div>
  )
}